package com.caipin.domain.gate;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:27
 * @Description: TODO
 */
public class ComparisonResults {
    private String userId;

    private String userName;

    private String userType;

    private String deviceid;

    private String uuid;

    private String nationCode;

    private int actionCode;

    private String action;

    private String temperature;

    private boolean mask;

    private long screenTime;

    private int similarity;

    private IdCardInfoBean idCardInfo;

    private String img;

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public void setNationCode(String nationCode) {
        this.nationCode = nationCode;
    }

    public void setActionCode(int actionCode) {
        this.actionCode = actionCode;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public void setMask(boolean mask) {
        this.mask = mask;
    }

    public void setScreenTime(long screenTime) {
        this.screenTime = screenTime;
    }

    public void setSimilarity(int similarity) {
        this.similarity = similarity;
    }

    public void setIdCardInfo(IdCardInfoBean idCardInfo) {
        this.idCardInfo = idCardInfo;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.gate.ComparisonResults))
            return false;
        com.caipin.domain.gate.ComparisonResults other = (com.caipin.domain.gate.ComparisonResults)o;
        if (!other.canEqual(this))
            return false;
        Object this$userId = getUserId(), other$userId = other.getUserId();
        if ((this$userId == null) ? (other$userId != null) : !this$userId.equals(other$userId))
            return false;
        Object this$userName = getUserName(), other$userName = other.getUserName();
        if ((this$userName == null) ? (other$userName != null) : !this$userName.equals(other$userName))
            return false;
        Object this$userType = getUserType(), other$userType = other.getUserType();
        if ((this$userType == null) ? (other$userType != null) : !this$userType.equals(other$userType))
            return false;
        Object this$deviceid = getDeviceid(), other$deviceid = other.getDeviceid();
        if ((this$deviceid == null) ? (other$deviceid != null) : !this$deviceid.equals(other$deviceid))
            return false;
        Object this$uuid = getUuid(), other$uuid = other.getUuid();
        if ((this$uuid == null) ? (other$uuid != null) : !this$uuid.equals(other$uuid))
            return false;
        Object this$nationCode = getNationCode(), other$nationCode = other.getNationCode();
        if ((this$nationCode == null) ? (other$nationCode != null) : !this$nationCode.equals(other$nationCode))
            return false;
        if (getActionCode() != other.getActionCode())
            return false;
        Object this$action = getAction(), other$action = other.getAction();
        if ((this$action == null) ? (other$action != null) : !this$action.equals(other$action))
            return false;
        Object this$temperature = getTemperature(), other$temperature = other.getTemperature();
        if ((this$temperature == null) ? (other$temperature != null) : !this$temperature.equals(other$temperature))
            return false;
        if (isMask() != other.isMask())
            return false;
        if (getScreenTime() != other.getScreenTime())
            return false;
        if (getSimilarity() != other.getSimilarity())
            return false;
        Object this$idCardInfo = getIdCardInfo(), other$idCardInfo = other.getIdCardInfo();
        if ((this$idCardInfo == null) ? (other$idCardInfo != null) : !this$idCardInfo.equals(other$idCardInfo))
            return false;
        Object this$img = getImg(), other$img = other.getImg();
        return !((this$img == null) ? (other$img != null) : !this$img.equals(other$img));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.gate.ComparisonResults;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $userId = getUserId();
        result = result * 59 + (($userId == null) ? 43 : $userId.hashCode());
        Object $userName = getUserName();
        result = result * 59 + (($userName == null) ? 43 : $userName.hashCode());
        Object $userType = getUserType();
        result = result * 59 + (($userType == null) ? 43 : $userType.hashCode());
        Object $deviceid = getDeviceid();
        result = result * 59 + (($deviceid == null) ? 43 : $deviceid.hashCode());
        Object $uuid = getUuid();
        result = result * 59 + (($uuid == null) ? 43 : $uuid.hashCode());
        Object $nationCode = getNationCode();
        result = result * 59 + (($nationCode == null) ? 43 : $nationCode.hashCode());
        result = result * 59 + getActionCode();
        Object $action = getAction();
        result = result * 59 + (($action == null) ? 43 : $action.hashCode());
        Object $temperature = getTemperature();
        result = result * 59 + (($temperature == null) ? 43 : $temperature.hashCode());
        result = result * 59 + (isMask() ? 79 : 97);
        long $screenTime = getScreenTime();
        result = result * 59 + (int)($screenTime >>> 32L ^ $screenTime);
        result = result * 59 + getSimilarity();
        Object $idCardInfo = getIdCardInfo();
        result = result * 59 + (($idCardInfo == null) ? 43 : $idCardInfo.hashCode());
        Object $img = getImg();
        return result * 59 + (($img == null) ? 43 : $img.hashCode());
    }

    public String toString() {
        return "ComparisonResults(userId=" + getUserId() + ", userName=" + getUserName() + ", userType=" + getUserType() + ", deviceid=" + getDeviceid() + ", uuid=" + getUuid() + ", nationCode=" + getNationCode() + ", actionCode=" + getActionCode() + ", action=" + getAction() + ", temperature=" + getTemperature() + ", mask=" + isMask() + ", screenTime=" + getScreenTime() + ", similarity=" + getSimilarity() + ", idCardInfo=" + getIdCardInfo() + ", img=" + getImg() + ")";
    }

    public String getUserId() {
        return this.userId;
    }

    public String getUserName() {
        return this.userName;
    }

    public String getUserType() {
        return this.userType;
    }

    public String getDeviceid() {
        return this.deviceid;
    }

    public String getUuid() {
        return this.uuid;
    }

    public String getNationCode() {
        return this.nationCode;
    }

    public int getActionCode() {
        return this.actionCode;
    }

    public String getAction() {
        return this.action;
    }

    public String getTemperature() {
        return this.temperature;
    }

    public boolean isMask() {
        return this.mask;
    }

    public long getScreenTime() {
        return this.screenTime;
    }

    public int getSimilarity() {
        return this.similarity;
    }

    public IdCardInfoBean getIdCardInfo() {
        return this.idCardInfo;
    }

    public String getImg() {
        return this.img;
    }
}

